<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct simple_time_rep</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../date_time/doxy.html#doxygen.posix_time_reference.posix__time__config_8hpp" title="Header &lt;boost/date_time/posix_time/posix_time_config.hpp&gt;">
<link rel="prev" href="classboost_1_1posix__time_1_1posix__time__system__config.html" title="Class posix_time_system_config">
<link rel="next" href="classboost_1_1posix__time_1_1time__duration.html" title="Class time_duration">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
<td align="center"><a href="../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="classboost_1_1posix__time_1_1posix__time__system__config.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#doxygen.posix_time_reference.posix__time__config_8hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="classboost_1_1posix__time_1_1time__duration.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct simple_time_rep</span></h2>
<p>boost::posix_time::simple_time_rep — Simple implementation for the time rep. </p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../date_time/doxy.html#doxygen.posix_time_reference.posix__time__config_8hpp" title="Header &lt;boost/date_time/posix_time/posix_time_config.hpp&gt;">boost/date_time/posix_time/posix_time_config.hpp</a>&gt;

</span>
<span class="keyword">struct</span> <a class="link" href="structboost_1_1posix__time_1_1simple__time__rep.html" title="Struct simple_time_rep">simple_time_rep</a> <span class="special">{</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="identifier">gregorian</span><span class="special">::</span><span class="identifier">date</span> <a name="doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep_1a4eb23361f6b92add59ab0cbe08c6d19f"></a><span class="identifier">date_type</span><span class="special">;</span>         
  <span class="keyword">typedef</span> <a class="link" href="classboost_1_1posix__time_1_1time__duration.html" title="Class time_duration">time_duration</a>   <a name="doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep_1a13572bb3203d85c9792abbf2563d5abc"></a><span class="identifier">time_duration_type</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="structboost_1_1posix__time_1_1simple__time__rep.html#id-1_3_11_15_5_5_1_1_3_6-bb">public member functions</a></span>
  <a class="link" href="structboost_1_1posix__time_1_1simple__time__rep.html#doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep_1a7356f8cd9f8c70dd1735c8d434ad93b4"><span class="identifier">simple_time_rep</span></a><span class="special">(</span><span class="identifier">date_type</span><span class="special">,</span> <a class="link" href="structboost_1_1posix__time_1_1simple__time__rep.html#doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep_1a13572bb3203d85c9792abbf2563d5abc">time_duration_type</a><span class="special">)</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="structboost_1_1posix__time_1_1simple__time__rep.html#doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep_1ad9a8c454157bbf829d2b0442d1b1847d"><span class="identifier">is_special</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="structboost_1_1posix__time_1_1simple__time__rep.html#doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep_1aeca55db5efe0d7ba14c276e17344aa42"><span class="identifier">is_pos_infinity</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="structboost_1_1posix__time_1_1simple__time__rep.html#doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep_1aef76858888192bec678141550cc372c3"><span class="identifier">is_neg_infinity</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="structboost_1_1posix__time_1_1simple__time__rep.html#doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep_1ad9b78fb30c1c5c2b37297a8453f090b2"><span class="identifier">is_not_a_date_time</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>

  <span class="comment">// public data members</span>
  <span class="identifier">date_type</span> <span class="identifier">day</span><span class="special">;</span>
  <a class="link" href="structboost_1_1posix__time_1_1simple__time__rep.html#doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep_1a13572bb3203d85c9792abbf2563d5abc">time_duration_type</a> <span class="identifier">time_of_day</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.11.15.5.5.5.4"></a><h2>Description</h2>
<div class="refsect2">
<a name="id-1.3.11.15.5.5.5.4.2"></a><h3>
<a name="id-1_3_11_15_5_5_1_1_3_6-bb"></a><code class="computeroutput">simple_time_rep</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><a name="doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep_1a7356f8cd9f8c70dd1735c8d434ad93b4"></a><span class="identifier">simple_time_rep</span><span class="special">(</span><span class="identifier">date_type</span> d<span class="special">,</span> <a class="link" href="structboost_1_1posix__time_1_1simple__time__rep.html#doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep_1a13572bb3203d85c9792abbf2563d5abc">time_duration_type</a> tod<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep_1ad9a8c454157bbf829d2b0442d1b1847d"></a><span class="identifier">is_special</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep_1aeca55db5efe0d7ba14c276e17344aa42"></a><span class="identifier">is_pos_infinity</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep_1aef76858888192bec678141550cc372c3"></a><span class="identifier">is_neg_infinity</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.posix_time_reference.structboost_1_1posix__time_1_1simple__time__rep_1ad9b78fb30c1c5c2b37297a8453f090b2"></a><span class="identifier">is_not_a_date_time</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2001-2005 CrystalClear Software, Inc<p>Subject to the Boost Software License, Version 1.0. (See accompanying file
    <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)</p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="classboost_1_1posix__time_1_1posix__time__system__config.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#doxygen.posix_time_reference.posix__time__config_8hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="classboost_1_1posix__time_1_1time__duration.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
